package com.renwei.yunlong.bean;

import java.io.Serializable;

/**
 * 业主登录实体类
 *
 * Created by Administrator on 2017/9/4.
 */

public class LoginBean implements Serializable{
    private int total;
    private Message message;//消息对象
    private Rows rows;//用户信息对象

    public class Message implements Serializable{
        private int code;
        private String message;
        private String stack;

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getStack() {
            return stack;
        }

        public void setStack(String stack) {
            this.stack = stack;
        }

        @Override
        public String toString() {
            return "Message{" +
                    "code=" + code +
                    ", message='" + message + '\'' +
                    ", stack='" + stack + '\'' +
                    '}';
        }
    }


    public class Rows implements Serializable{
        private Company company;
        private Employee employee;
        private String avatar;//头像
        private String gender;//性别（0女 1男）
        private String name;//名字
        private String userId;//用户id
        private String employeeId;//员工id
        private String birthday;//出生日期
        private String departmentName;//所属部门
        private String userGroupName;//职能分组
        private String employeeCode;//员工工号
        private String roleName;//关联角色
        private String state;//当前状态
        private String mobilePhone;//联系电话
        private String officeTelephone;//办公电话
        private String email;//电子邮箱
        private String userName;//账号
        private String professionalSkills;//技术资质 id
        private String ownerCode;//公司code
        private String technicalQualif;//技术专长ids
        private String technicalQualifName;//技术专长名称
        private String departmentId;//部门id

        public Employee getEmployee() {
            return employee;
        }

        public Company getCompany() {
            return company;
        }

        public String getAvatar() {
            return avatar;
        }

        public String getGender() {
            return gender;
        }

        public String getName() {
            return name;
        }

        public String getUserId() {
            return userId;
        }

        public String getEmployeeId() {
            return employeeId;
        }

        public String getBirthday() {
            return birthday;
        }

        public String getDepartmentName() {
            return departmentName;
        }

        public String getUserGroupName() {
            return userGroupName;
        }

        public String getEmployeeCode() {
            return employeeCode;
        }

        public String getRoleName() {
            return roleName;
        }

        public String getState() {
            return state;
        }

        public String getMobilePhone() {
            return mobilePhone;
        }

        public String getOfficeTelephone() {
            return officeTelephone;
        }

        public String getEmail() {
            return email;
        }

        public String getUserName() {
            return userName;
        }

        public String getProfessionalSkills() {
            return professionalSkills;
        }

        public String getOwnerCode() {
            return ownerCode;
        }

        public String getTechnicalQualif() {
            return technicalQualif;
        }

        public String getTechnicalQualifName() {
            return technicalQualifName;
        }

        public String getDepartmentId() {
            return departmentId;
        }
    }

    public class Employee implements Serializable{
        private String avatar;

        private int beginNo;

        private String birthday;

        private String compColor;

        private String companyName;

        private String createTime;

        private String creator;

        private String creatorId;

        private String departmentId;

        private String departmentName;

        private String dicValues;

        private String duty;

        private String email;

        private String employeeCode;

        private String employeeId;

        private int endNo;

        private String engineerLevel;

        private String engineerStatus;

        private int failNumber;

        private String gender;

        private int genderNum;

        private String groupName;

        private String isForeign;

        private String isLastLogin;

        private String isSyn;

        private String job;

        private String mobilePhone;

        private String name;

        private int number;

        private String officeTelephone;

        private String ownerCode;

        private String positionId;

        private String roleId;

        private String roleName;

        private int rowNo;

        private String serviceProviderCode;

        private String state;

        private int sum;

        private String synCode;

        private String technicalQualif;

        private String titles;

        private String userGroupId;

        private String userId;

        private String userName;

        private String versionCode;

        public void setAvatar(String avatar){
            this.avatar = avatar;
        }
        public String getAvatar(){
            return this.avatar;
        }
        public void setBeginNo(int beginNo){
            this.beginNo = beginNo;
        }
        public int getBeginNo(){
            return this.beginNo;
        }
        public void setBirthday(String birthday){
            this.birthday = birthday;
        }
        public String getBirthday(){
            return this.birthday;
        }
        public void setCompColor(String compColor){
            this.compColor = compColor;
        }
        public String getCompColor(){
            return this.compColor;
        }
        public void setCompanyName(String companyName){
            this.companyName = companyName;
        }
        public String getCompanyName(){
            return this.companyName;
        }
        public void setCreateTime(String createTime){
            this.createTime = createTime;
        }
        public String getCreateTime(){
            return this.createTime;
        }
        public void setCreator(String creator){
            this.creator = creator;
        }
        public String getCreator(){
            return this.creator;
        }
        public void setCreatorId(String creatorId){
            this.creatorId = creatorId;
        }
        public String getCreatorId(){
            return this.creatorId;
        }
        public void setDepartmentId(String departmentId){
            this.departmentId = departmentId;
        }
        public String getDepartmentId(){
            return this.departmentId;
        }
        public void setDepartmentName(String departmentName){
            this.departmentName = departmentName;
        }
        public String getDepartmentName(){
            return this.departmentName;
        }
        public void setDicValues(String dicValues){
            this.dicValues = dicValues;
        }
        public String getDicValues(){
            return this.dicValues;
        }
        public void setDuty(String duty){
            this.duty = duty;
        }
        public String getDuty(){
            return this.duty;
        }
        public void setEmail(String email){
            this.email = email;
        }
        public String getEmail(){
            return this.email;
        }
        public void setEmployeeCode(String employeeCode){
            this.employeeCode = employeeCode;
        }
        public String getEmployeeCode(){
            return this.employeeCode;
        }
        public void setEmployeeId(String employeeId){
            this.employeeId = employeeId;
        }
        public String getEmployeeId(){
            return this.employeeId;
        }
        public void setEndNo(int endNo){
            this.endNo = endNo;
        }
        public int getEndNo(){
            return this.endNo;
        }
        public void setEngineerLevel(String engineerLevel){
            this.engineerLevel = engineerLevel;
        }
        public String getEngineerLevel(){
            return this.engineerLevel;
        }
        public void setEngineerStatus(String engineerStatus){
            this.engineerStatus = engineerStatus;
        }
        public String getEngineerStatus(){
            return this.engineerStatus;
        }
        public void setFailNumber(int failNumber){
            this.failNumber = failNumber;
        }
        public int getFailNumber(){
            return this.failNumber;
        }
        public void setGender(String gender){
            this.gender = gender;
        }
        public String getGender(){
            return this.gender;
        }
        public void setGenderNum(int genderNum){
            this.genderNum = genderNum;
        }
        public int getGenderNum(){
            return this.genderNum;
        }
        public void setGroupName(String groupName){
            this.groupName = groupName;
        }
        public String getGroupName(){
            return this.groupName;
        }
        public void setIsForeign(String isForeign){
            this.isForeign = isForeign;
        }
        public String getIsForeign(){
            return this.isForeign;
        }
        public void setIsLastLogin(String isLastLogin){
            this.isLastLogin = isLastLogin;
        }
        public String getIsLastLogin(){
            return this.isLastLogin;
        }
        public void setIsSyn(String isSyn){
            this.isSyn = isSyn;
        }
        public String getIsSyn(){
            return this.isSyn;
        }
        public void setJob(String job){
            this.job = job;
        }
        public String getJob(){
            return this.job;
        }
        public void setMobilePhone(String mobilePhone){
            this.mobilePhone = mobilePhone;
        }
        public String getMobilePhone(){
            return this.mobilePhone;
        }
        public void setName(String name){
            this.name = name;
        }
        public String getName(){
            return this.name;
        }
        public void setNumber(int number){
            this.number = number;
        }
        public int getNumber(){
            return this.number;
        }
        public void setOfficeTelephone(String officeTelephone){
            this.officeTelephone = officeTelephone;
        }
        public String getOfficeTelephone(){
            return this.officeTelephone;
        }
        public void setOwnerCode(String ownerCode){
            this.ownerCode = ownerCode;
        }
        public String getOwnerCode(){
            return this.ownerCode;
        }
        public void setPositionId(String positionId){
            this.positionId = positionId;
        }
        public String getPositionId(){
            return this.positionId;
        }
        public void setRoleId(String roleId){
            this.roleId = roleId;
        }
        public String getRoleId(){
            return this.roleId;
        }
        public void setRoleName(String roleName){
            this.roleName = roleName;
        }
        public String getRoleName(){
            return this.roleName;
        }
        public void setRowNo(int rowNo){
            this.rowNo = rowNo;
        }
        public int getRowNo(){
            return this.rowNo;
        }
        public void setServiceProviderCode(String serviceProviderCode){
            this.serviceProviderCode = serviceProviderCode;
        }
        public String getServiceProviderCode(){
            return this.serviceProviderCode;
        }
        public void setState(String state){
            this.state = state;
        }
        public String getState(){
            return this.state;
        }
        public void setSum(int sum){
            this.sum = sum;
        }
        public int getSum(){
            return this.sum;
        }
        public void setSynCode(String synCode){
            this.synCode = synCode;
        }
        public String getSynCode(){
            return this.synCode;
        }
        public void setTechnicalQualif(String technicalQualif){
            this.technicalQualif = technicalQualif;
        }
        public String getTechnicalQualif(){
            return this.technicalQualif;
        }
        public void setTitles(String titles){
            this.titles = titles;
        }
        public String getTitles(){
            return this.titles;
        }
        public void setUserGroupId(String userGroupId){
            this.userGroupId = userGroupId;
        }
        public String getUserGroupId(){
            return this.userGroupId;
        }
        public void setUserId(String userId){
            this.userId = userId;
        }
        public String getUserId(){
            return this.userId;
        }
        public void setUserName(String userName){
            this.userName = userName;
        }
        public String getUserName(){
            return this.userName;
        }
        public void setVersionCode(String versionCode){
            this.versionCode = versionCode;
        }
        public String getVersionCode(){
            return this.versionCode;
        }
    }

    //公司
    public class Company implements Serializable{
        private String checkFlag;//状态（认证状态 0：未认证，1：待认证，2已认证，3未通过认证）
        private String companyCode;//公司编码
        private String companyName;//公司名称
        private String provinceId;//省
        private String cityId;//市
        private String regionId;//区
        private String registerAddr;//注册地址
        private String companyType;//公司类型（1业主2服务商）
        private String registerName;//公司注册人
        private String customerPhone;//联系电话
        private String certificateType;//（证件类型1营业执照、2组织机构代码证）
        private String certificateNumber;//证件号码
        private String effectiveAge;//有效年限
        private String type;//公司类型（1业主2服务商
        private String versionCode;

        public String getCheckFlag() {
            return checkFlag;
        }

        public String getCompanyCode() {
            return companyCode;
        }

        public String getCompanyName() {
            return companyName;
        }

        public String getProvinceId() {
            return provinceId;
        }

        public String getCityId() {
            return cityId;
        }

        public String getRegisterAddr() {
            return registerAddr;
        }

        public String getCertificateNumber() {
            return certificateNumber;
        }

        public String getCertificateType() {
            return certificateType;
        }

        public String getCustomerPhone() {
            return customerPhone;
        }

        public String getRegisterName() {
            return registerName;
        }

        public String getCompanyType() {
            return companyType;
        }

        public String getRegionId() {

            return regionId;
        }

        public String getEffectiveAge() {
            return effectiveAge;
        }

        public String getType() {
            return type;
        }

        public String getVersionCode() {
            return versionCode;
        }
    }

    public Message getMessage() {
        return message;
    }

    public void setMessage(Message message) {
        this.message = message;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public Rows getRows() {
        return rows;
    }

    public void setRows(Rows rows) {
        this.rows = rows;
    }
}
